package com.star.config.repository.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.star.common.orm.contract.entity.BasePO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * 应用配置(UserTenantConfig)UserTenantConfig  实体类
 *
 * @author zhouhengzhe
 * @since 2023-12-30 23:33:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("user_tenant_config")
@EqualsAndHashCode(callSuper = true)
public class UserTenantConfigPO extends BasePO {

    @Schema(description = "应用名称")
    private String tenantName;

    @Schema(description = "客户端私钥")
    private String clientPrivateKey;

    @Schema(description = "客户端公钥")
    private String clientPublicKey;

    /**
     * 用于控制租户是否需要登录互斥 1:登录互斥
     **/
    @Schema(description = "用于控制租户是否需要登录互斥 1:登录互斥 0：允许不同设备登录")
    private Integer loginExclusionType;

}
